{"version":3,"sources":["file_upload_agent.js"],"names":["BX","window","FileUploadAgent","arParams","this","controller","inputName","urlUpload","urlShow","values","type","isArray","fileInputID","fileInputName","multiple","placeholder","uploadDialog","msg","fileInput","uploadFile","droppedFiles","place","progress","progressPercent","progressAnimation","parent","uploadResultShown","loaded","hAttachEvents","caller","classes","uploaderParent","uploader","tpl_simple","tpl_extended","selector","selector_active","doc_prefix","SelectViewVariant","id","getID","_mkFileInput","hUploaderChange","onUploaderChange","bind","wduf_places","prototype","Init","isDomNode","isFunction","Date","getTime","substr","_mkClose","target","closeBtn","create","props","className","divLoading","findChild","divLoaded","StopUpload","appendChild","_mkPlace","name","cacheID","style","width","children","text","progressHolder","attrs","colspan","innerHTML","controlParent","oldFileInput","remove","size","newFileInput","e","onCustomEvent","parentNode","SetFileInput","dropbox","UploadDroppedFiles","files","CallSubmit","onUploadStart","dialog","GetUploadFileName","newdialog","GetNewObject","LoadDialogs","dialogs","onProgress","percent","force","isNaN","fx","UpdateProgressIndicator","start","finish","allowFloat","params","RULES","accelerated","decelerated","time","step","callback","delegate","value","stop","options","__checkOptions","onUploadFinish","result","uploadResult","percentS","Math","ceil","px","success","ShowUploadedFile","messages","ShowUploadError","ShowAttachedFiles","valArr","slice","val","shift","sID","mID","match","RegExp","BindLoadedFileControls","element_id","uploadResultArr","Array","i","length","element_url","element_name","node","nodeName","_clearPlace","setTimeout","join","replace","addClass","cells","deleteCell","newCell","insertCell","setAttribute","param","AddRowToPlaceholder","TR","rows","findChildren","tagName","newRow","insertRow","j","cleanNode","AddNodeToPlaceholder","hide","LoadScript","src","DoNothing","loaded_scripts","util","in_array","loadScript","push","BindUploadEvents","LoadDialogsFinished","parentID","addCustomEvent","ready","unbind","fileName","fileDropped","UpdateListFiles","AddSelectedFiles","ar","link","Disable","access_denied","LoadUploadDialog","GetUploadDialog","variant","simple","extended","domNode","show","indexOf","DD","dropFiles","supported","ajax","FormData","isSupported","controllerV","removeClass"],"mappings":"CAAA,WACA,IAAIA,EA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